

class PageController {
	def authenticateService
 	def index = { 
		 def authPrincipal = authenticateService.principal()
		 def person = User.findByUsername(authPrincipal.username)
//		 org.codehaus.groovy.grails.commons.ConfigurationHolder.getConfig().setProperty('currentUser',person.userRealName)
		 session.username = person.userRealName
	 }
//	def admin = {
//		
//	} 
	def underconstruction = {
		
	}
//	def team = {
//		
//	}
	
}
